<template>
  <div>
    <h2>我是父组件</h2>
    <!--如果要动态传父组件中的数据，配合V-bind属性 -->
<SonComponent :sonMoney='FatherMoney' :sonTitle='title'></SonComponent>
  </div>

</template>

<script>
import SonComponent from './SonComponent.vue'
export default {
data(){
  return {
    FatherMoney:50,
    title:'这是父组件的标题'
}
},
components:{
  SonComponent
}
}
</script>

<style>

</style>